package ru.arriah.common.bean;

public class MessageBean {

   private String text;
   private boolean error;

   public MessageBean() {
      super();
   }

   public MessageBean(String text) {
      super();
      setText(text);
      setError(false);
   }

   public MessageBean(String text, boolean isError) {
      super();
      setText(text);
      setError(isError);
   }

   public String getText() {
      return text;
   }

   public void setText(String text) {
      this.text = text;
   }

   public boolean isError() {
      return error;
   }

   public void setError(boolean error) {
      this.error = error;
   }
}
